﻿using System;

namespace opSysPower.Definition
{
    public interface  IOperate
    {
        bool Save();

        bool Update();

        bool Delete();
    }
 
    public interface IGraphicSchematic : INaming,IOperate
    {
       

    }
    public interface ISchematic : IGraphicSchematic, IVersion, IValue<UInt32>
    {


    }
    public class Schematic:ISchematic
    {


        #region INaming 成员

        public string Name 
        { 
            get;set;
        }

        public string DisPlayName
        {
            get; set; 
        }

        public string Discription
        {
            get; set; 
        }

        public Guid UniqueId
        {
            get; set; 
        }

        #endregion

        #region IOperate 成员

        public bool Save()
        {
            throw new NotImplementedException();
        }

        public bool Update()
        {
            throw new NotImplementedException();
        }

        public bool Delete()
        {
            throw new NotImplementedException();
        }

        #endregion

        #region IVersion 成员

        public string VersionInfo
        {
            get
            {
                throw new NotImplementedException();
            }
            set
            {
                throw new NotImplementedException();
            }
        }

        #endregion

        #region IValue<uint> 成员

        public uint Value
        {
            get
            {
                throw new NotImplementedException();
            }
            set
            {
                throw new NotImplementedException();
            }
        }

        #endregion
    }
}
